package com.tianhao.luo.utils;

import com.tianhao.luo.reply.AbstractSmartReply;
import com.tianhao.luo.reply.PictureReplyAble;
import com.tianhao.luo.reply.TextReplyAble;
import com.tianhao.luo.reply.VoiceReplyAble;
import com.tianhao.luo.reply.impl.NormalPictureReplyAbleImpl;
import com.tianhao.luo.reply.impl.NormalTextReplyAbleImpl;
import com.tianhao.luo.reply.impl.NormalVoiceReplyAbleImpl;

/**
 * @author tianhao.luo
 * @date 2020/3/12 20:16
 */
public class LuoSmartReply extends AbstractSmartReply {

    @Override
    public String textReply(String condition) {
        return textReplyAble.textReply(condition);
    }

    @Override
    public String voiceReply(String condition) {
        return voiceReplyAble.voiceReply(condition);
    }

    @Override
    public String pictureReply(String condition) {
        return pictureReplyAble.pictureReply(condition);
    }

    public LuoSmartReply(TextReplyAble textReplyAble, VoiceReplyAble voiceReplyAble, PictureReplyAble pictureReplyAble) {
        super(textReplyAble, voiceReplyAble, pictureReplyAble);
    }


}
